import instance from '../utils/request'

//就业指导
export const getselectPage = (type, pageNum, pageSize) => {
    return instance({
        url: `/notice/selectPage?type=${type}&pageNum=${pageNum}&pageSize=${pageSize}`,
        method: 'GET',
    })
}

//帖子详细信息
export const getNoticeDetail = (id) => {
    return instance({
        url: `/notice/selectById/${id}`,
        method: 'GET',
    })
}

//帖子排行榜
export const getRank = () => {
    return instance({
        url: `/notice/rank`,
        method: 'GET',
    })
}

